#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "dbhelper.h"
#include <QHash>
#include "departdialog.h"
MainWindow::MainWindow(QWidget *parent) :
    QMainWindow(parent),
    ui(new Ui::MainWindow)
{
    ui->setupUi(this);

    DepartDialog *dlg=new DepartDialog(this);
    dlg->show();
//
}

MainWindow::~MainWindow()
{
    delete ui;
}
